package inference;

import java.util.ArrayList;
import java.util.List;

public class GraphEdge {

	public GraphEdge() {

	}

	public GraphEdge(GraphNode... nodes) {
		for (GraphNode gn : nodes) {
			_parents.add(gn);
		}
	}

	private List<GraphNode> _parents = new ArrayList<GraphNode>();

	public List<GraphNode> nodes() {
		return _parents;
	}

	public String toString() {
		return _parents.toString();
	}
}
